package com.xju.admin.service;

import com.xju.admin.entity.Dictionary;

import java.util.List;

public interface DictionaryService {
    Dictionary findById(String id);
    Dictionary findByValue(String value);
    void insert(Dictionary dictionary);
    List<Dictionary> findByType(String type);
    Dictionary findByTypeAndValue(String type, String value);
}
